﻿@model AceMobile.Models.AccountChangePassword

@{
    ViewBag.Title = "Đổi mật khẩu";
}


<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

        <h2>Đăng kí tài khoản</h2>
        @using (Html.BeginForm()) {
            @Html.ValidationSummary(true)
            <fieldset>
                <legend>Đổi mật khẩu</legend>                

                <div class="editor-label">
                    @Html.LabelFor(model => model.OldPassword)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.OldPassword)
                    @Html.ValidationMessageFor(model => model.OldPassword)
                </div>
                <div class="editor-label">
                    @Html.LabelFor(model => model.NewPassword)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.NewPassword)
                    @Html.ValidationMessageFor(model => model.NewPassword)
                </div>

                <div class="editor-label">
                    @Html.LabelFor(model => model.NewPasswordConfirm)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.NewPasswordConfirm)
                    @Html.ValidationMessageFor(model => model.NewPasswordConfirm)
                </div>                
                <p>
                    <input type="submit" value="Thay đổi" />
                </p>
                <p style="color: red"><b>
                    @ViewBag.mess
                </b></p>                
            </fieldset>
        }